<template>
  <el-container class="layout">
    <el-header class="layout__header">Header</el-header>

    <el-container>
      <el-aside class="layout__aside">
        <Menu class="layout__aside-menu" />
      </el-aside>

      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import Menu from './components/Menu'

export default {
  name: "DefaultLayout",
  components: {
    Menu
  }
};
</script>

<style lang="scss" scoped>
.layout {
  height: 100vh;

  &__header {
    background-color: #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
  }

  &__aside {
    background-color: #f4f4f4;

    &-menu {
      height: 100%;
    }
  }
}
</style>
